﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/Admin_Master.master" AutoEventWireup="true" CodeFile="DetailProduct.aspx.cs" Inherits="admin_DetailProduct" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
    <ul id="top-navigation">
        
        <li><span><span><a href="user.aspx">Users</a></span></span></li>
        <li class="active"><span><span><a href="product.aspx">Products</a></span></span></li>
        <li><span><span><a href="category.aspx">Category</a></span></span></li>
        <li><span><span><a href="order.aspx">Orders</a></span></span></li>
       
    </ul>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="top-bar">
        <a href="#Add" style="float: left; background-color: blue; padding: 4px; color: white; font-weight: bold;">ADD NEW </a>
        <span style="float:right; margin-right:30px;">
            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/admin/product.aspx" Font-Underline="True">Back</asp:HyperLink></span>
    </div>
    <br />
    <div class="select-bar">
        <label>
            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        </label>
        <label>
            <asp:Button ID="Button1" runat="server" Text="Search" />
            <asp:Label ID="Message" runat="server" Text=""></asp:Label>
        </label>
    </div>



    <table class="listing form" cellpadding="0" cellspacing="0">
        <tr>
            <td class="first" width="180">Product ID: </td>
            <td class="last">
                <asp:TextBox ID="txtProId" runat="server" Width="250"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="first">Product Name: </td>
            <td class="last">
                <asp:TextBox ID="txtProName" runat="server" Width="250"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="first">Category:</td>
            <td class="last">
                <asp:TextBox ID="txtCategory" runat="server" Width="250"></asp:TextBox>
                <asp:DropDownList ID="ddlCategory" runat="server"  Width="266px"></asp:DropDownList> 
            </td>
        </tr>
        <tr>
            <td class="first">Price: </td>
            <td class="last">
                <asp:TextBox ID="txtPrice" runat="server" Width="250"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="first">Quantity: </td>
            <td class="last">
                <asp:TextBox ID="txtQuantity" runat="server" Width="250"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="first">Starting Date: </td>
            <td class="last">
                <asp:TextBox ID="txtStartingDate" runat="server" Width="250"></asp:TextBox>
                <asp:Calendar ID="calStartingDate" runat="server" Width="250px" BackColor="#FFFFCC" BorderColor="#FFCC66" BorderWidth="1px" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#663399" Height="200px" OnSelectionChanged="calStartingDate_SelectionChanged" ShowGridLines="True">
                    <DayHeaderStyle BackColor="#FFCC66" Font-Bold="True" Height="1px" />
                    <NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
                    <OtherMonthDayStyle ForeColor="#CC9966" />
                    <SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
                    <SelectorStyle BackColor="#FFCC66" />
                    <TitleStyle BackColor="#990000" Font-Bold="True" Font-Size="9pt" ForeColor="#FFFFCC" />
                    <TodayDayStyle BackColor="#FFCC66" ForeColor="White" />
                </asp:Calendar>
            </td>
        </tr>
        <tr>
            <td class="first">IsSale: </td>
            <td class="last">
                <asp:CheckBox ID="chbxIsSale" runat="server" Width="20px" Height="20" /></td>
        </tr>
        <tr>
            <td class="first">Image: </td>
            <td class="last">
                <asp:Label ID="txtNameImage" runat="server" Text="Label" Visible="False"></asp:Label>
                <asp:Image ID="ProImage" runat="server" Width="60" Height="60" />
                <asp:FileUpload ID="UploadFile" runat="server" OnDataBinding="UploadFile_DataBinding" />
                </td>
        </tr>

        <tr>
            <td class="first">Content: </td>
            <td class="last">
                <asp:TextBox ID="txtContent" runat="server" TextMode="MultiLine" Rows="20" Width="700"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="first"></td>
            <td class="last">
                <asp:Button ID="btnEdit" runat="server" Text="Edit" CssClass="button1" OnClick="btnEdit_Click" />
                <asp:Button ID="btnUpdate" runat="server" Text="Update" CssClass="button1" OnClick="btnUpdate_Click" />
                <asp:Button ID="btnCancel" runat="server" Text="Cancel" CssClass="button1" OnClick="btnCancel_Click" />
                <input id="btnReset" type="reset" value="Reset" class="button1" runat="server" />
            </td>
        </tr>
        <tr>
            <td></td>
            <td></td>
        </tr>
    </table>
</asp:Content>

